package com.weipai.springboot.enums;

public enum GoodsStatus {

    INIT(0, "未启用"),
    ON_SHELVE(1, "上架"),
    OFF_SHELVES(2, "下架");

    private int status; //状态
    private String desc; //描述

    private GoodsStatus(int status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public int getStatus() {
        return status;
    }

    public String getDesc() {
        return desc;
    }
}
